package com.scholarship.modules.backend.service;

import com.scholarship.modules.backend.mapper.RewardTableMapper;
import com.scholarship.modules.backend.mapper.StuTotalScoreMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ZhzGod
 * @date 2021/10/8 11:34
 * @introduction
 */
@Service
public class StuTotalScoreService {

    @Autowired
    StuTotalScoreMapper stuTotalScoreMapper;

    @Autowired
    RewardTableMapper rewardTableMapper;

    public Float getStuTotalScoreById(String userId){
        return stuTotalScoreMapper.getStuTotalScoreById(userId);
    }
}
